package io.demo.message.benchmark;

import java.io.Serializable;

/**
 * @author lijinting01
 */
public interface Benchmark {

  /**
   * @param o Serializable object
   * @param looping For how many times to loop, which is expected to be greater than 0
   * @throws IllegalArgumentException if looping is less than {@literal 1}
   */
  void execute(Serializable o, int looping);
}
